package com.ruoyi.stock2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 数据下载失败对象 DOWN_TRADEDATA_FAIL
 * 
 * @author ruoyi
 * @date 2020-04-25
 */
public class DownTradedataFail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 股票代码 */
    private String symbol;

    /** 开始日期 */
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String fromdate;

    /** 结束日期 */
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String todate;

    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setFromdate(String fromdate)
    {
        this.fromdate = fromdate;
    }

    public String getFromdate()
    {
        return fromdate;
    }
    public void setTodate(String todate)
    {
        this.todate = todate;
    }

    public String getTodate()
    {
        return todate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("symbol", getSymbol())
            .append("fromdate", getFromdate())
            .append("todate", getTodate())
            .toString();
    }
}
